package com.chengyu.core.mapper;

import com.chengyu.core.model.XxlJobLock;
import com.chengyu.core.model.XxlJobLockExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface XxlJobLockMapper {
    long countByExample(XxlJobLockExample example);

    int deleteByExample(XxlJobLockExample example);

    int deleteByPrimaryKey(String lockName);

    int insert(XxlJobLock record);

    int insertSelective(XxlJobLock record);

    List<XxlJobLock> selectByExample(XxlJobLockExample example);

    int updateByExampleSelective(@Param("record") XxlJobLock record, @Param("example") XxlJobLockExample example);

    int updateByExample(@Param("record") XxlJobLock record, @Param("example") XxlJobLockExample example);
}